Bienvenido <%= @current_user.login %> (<%= @current_user.profile.real_name %>)
<br />
<div class="featureRow">
  <h3><%= @titulo %></h3>
  <div class="edit_settings">
    <%= start_form_tag :action => "save_changes" %>
    <table>
      <tr>
        <td>Correo del Administrador:</td>
        <td><%= text_field_tag(:admin_mail, @settings[0].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[0].description %></td>
      </tr>
      <tr>
        <td>Base del Site:</td>
        <td><%= text_field_tag(:site_base, @settings[1].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[1].description %></td>
      </tr>
      <tr>
        <td>Host del Sitio</td>
        <td><%= text_field_tag(:site_host, @settings[2].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[2].description %></td>
      </tr>
      <tr>
        <td>Nombre del Sitio</td>
        <td><%= text_field_tag(:site_name, @settings[3].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[3].description %></td>
      </tr>
      <tr>
        <td>Maximos Eventos por Usuario</td>
        <td><%= text_field_tag(:max_events_per_user, @settings[4].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[4].description %></td>
      </tr>
      <tr>
        <td>Tamaño Maximo de Archivos</td>
        <td><%= text_field_tag(:max_file_size, @settings[5].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[5].description %></td>
      </tr>
      <tr>
        <td>Numero Maximo de Estudiantes por Curso</td>
        <td><%= text_field_tag(:max_students_per_course, @settings[6].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[6].description %></td>
      </tr>
      <tr>
        <td>Numero Maximo de Profesores por Curso</td>
        <td><%= text_field_tag(:max_instructors_per_course, @settings[7].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[7].description %></td>
      </tr>
      <tr>
        <td>Quitar curso despues de _____ segundos</td>
        <td><%= text_field_tag(:remove_course_after_seconds, @settings[8].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[8].description %></td>
      </tr>
      <tr>
        <td>Servidor SMTP</td>
        <td><%= text_field_tag(:smtp_server, @settings[9].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[9].description %></td>
      </tr>
      <tr>
        <td>Puerto SMTP</td>
        <td><%= text_field_tag(:smtp_port, @settings[10].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[10].description %></td>
      </tr>
      <tr>
        <td>Metodo de autenticacion SMTP</td>
        <td><%= text_field_tag(:smpt_auth_method, @settings[11].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[11].description %></td>
      </tr>
      <tr>
        <td>Loging SMTP</td>
        <td><%= text_field_tag(:smpt_auth_login, @settings[12].value, :size=>40) %></td>
      </tr>
      <tr>
        <td><%= @settings[12].description %></td>
      </tr>
      <tr>
        <td>Password SMTP</td>
        <td><%= text_field_tag(:smtp_auth_passwd, @settings[13].value, "size"=>40) %></td>
      </tr>
      <tr>
      <tr>
        <td><%= @settings[13].description %></td>
      </tr>
        <td>Reingresa Password</td>
        <td><%= text_field_tag(:smtp_auth_passwd2, @settings[13].value, "size"=>40) %></td>
      </tr> 
    </table>
    <br/>
    <center><%= submit_tag "Guardar Cambios" %></center>
    <%= end_form_tag %>
  </div>
</div>
